home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / include / linux / if_addrlabel.h < prev    next >
C/C++ Source or Header  |  2008-10-24  |  632b  |  33 lines

  1. /*
  2.  * if_addrlabel.h - netlink interface for address labels
  3.  *
  4.  * Copyright (C)2007 USAGI/WIDE Project,  All Rights Reserved.
  5.  *
  6.  * Authors:
  7.  *    YOSHIFUJI Hideaki @ USAGI/WIDE <yoshfuji@linux-ipv6.org>
  8.  */
  9.  
  10. #ifndef __LINUX_IF_ADDRLABEL_H
  11. #define __LINUX_IF_ADDRLABEL_H
  12.  
  13. struct ifaddrlblmsg
  14. {
  15.     __u8        ifal_family;        /* Address family */
  16.     __u8        __ifal_reserved;    /* Reserved */
  17.     __u8        ifal_prefixlen;        /* Prefix length */
  18.     __u8        ifal_flags;        /* Flags */
  19.     __u32        ifal_index;        /* Link index */
  20.     __u32        ifal_seq;        /* sequence number */
  21. };
  22.  
  23. enum
  24. {
  25.     IFAL_ADDRESS = 1,
  26.     IFAL_LABEL = 2,
  27.     __IFAL_MAX
  28. };
  29.  
  30. #define IFAL_MAX    (__IFAL_MAX - 1)
  31.  
  32. #endif
  33.